package com.loren.designer.persistent.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("et_screen_info")
public class Screen implements Serializable {

    private static final long serialVersionUID = -6438332661894809471L;

    @TableId
    private String id;

    private String name;

    private Integer width;

    private Integer height;

    private String remark;

    private String image;

    private String color;

    private Integer enable;

    private String widgets;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
